package com.zmn.oms.dubbo.dto.zmn.order;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sunlife
 * @date:2021/1/8 7:17 下午
 * description:
 */
@Data
@ApiModel("报价日志类")
public class QuotationLogDIO implements Serializable {

    /**
     * 报价人类型
     *
     * @see com.zmn.common.constant.GlobalConsts#OPERATE_USER_TYPE_SYSTEM
     */
    @NotNull(message = "报价人类型不能为空")
    private Integer operatorType;

    /**
     * 订单Id
     */
    @NotNull(message = "orderId不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @NotNull(message = "workId不能为空")
    private Long workId;

    /**
     * 启动时间
     */
    @NotNull(message = "启动时间不能为空")
    private String startTime;

    /**
     * 备注
     */
    @NotNull(message = "备注不能为空")
    private String remark;

}
